package com.foreknow.demo13;

import java.io.IOException;

public class ExceptionDemo {

    public void m1() throws ArrayIndexOutOfBoundsException {
        int[] array = {1,2,3};
        System.out.println(array[3]);
        System.out.println("11111111111111111111");
    }
    public static void main(String[] args) {
        ExceptionDemo demo = new ExceptionDemo();
        demo.m1();
    }
}
